package com.erp.erp_servers.ProductImg;

import com.erp.erp_entitys.ProductImg.ProductImgEntity;
import com.erp.erp_entitys.ProductImg.ProductImgExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IProductImgService {
    long countByExample(ProductImgExample example);

    int deleteByExample(ProductImgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductImgEntity record);

    int insertSelective(ProductImgEntity record);

    List<ProductImgEntity> selectByExample(ProductImgExample example);

    ProductImgEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductImgEntity record, @Param("example") ProductImgExample example);

    int updateByExample(@Param("record") ProductImgEntity record, @Param("example") ProductImgExample example);

    int updateByPrimaryKeySelective(ProductImgEntity record);

    int updateByPrimaryKey(ProductImgEntity record);
}
